package com.huajx.jrb.model;

import com.alibaba.fastjson.annotation.JSONField;

import java.util.Date;

public class Borrow implements Model {
    private Long id;
    private Long archiveId;
    private String status;//借还状态
    private String no;//编号
    private String code;//文号
    private String title;//标题
    private String lender;//借出人
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date lenderAt;

    private String returner;//归还人
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date returnAt;

    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date createAt;

    @Override
    public Long getId() {
        return id;
    }

    @Override
    public void setId(Long id) {
        this.id = id;
    }

    public Long getArchiveId() {
        return archiveId;
    }

    public void setArchiveId(Long archiveId) {
        this.archiveId = archiveId;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getNo() {
        return no;
    }

    public void setNo(String no) {
        this.no = no;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getLender() {
        return lender;
    }

    public void setLender(String lender) {
        this.lender = lender;
    }

    public Date getLenderAt() {
        return lenderAt;
    }

    public void setLenderAt(Date lenderAt) {
        this.lenderAt = lenderAt;
    }

    public String getReturner() {
        return returner;
    }

    public void setReturner(String returner) {
        this.returner = returner;
    }

    public Date getReturnAt() {
        return returnAt;
    }

    public void setReturnAt(Date returnAt) {
        this.returnAt = returnAt;
    }

    public Date getCreateAt() {
        return createAt;
    }

    public void setCreateAt(Date createAt) {
        this.createAt = createAt;
    }
}
